import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false





import { SVGRenderer, CanvasRenderer } from 'echarts/renderers';
echarts.use([SVGRenderer, CanvasRenderer]);
import myT from "./westeros.json"
echarts.registerTheme('vintage', myT);
var myChart=function (el){
  return echarts.init(document.getElementById(el), 'vintage', { renderer:'svg'})
}

import * as echarts from "echarts";
Vue.prototype.$myChart = myChart
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
